package com.adcc.ags.gms.core.entity;

import java.util.Date;

/**
 * 日志实体
 */
public class GWLog extends BaseEntity{

    // ID
    private Integer id;

    // 级别
    private Integer level;

    // 名称
    private String name;

    // 日志
    private String log;

    // 创建时间
    private Date createTime;

    /**
     * 构造函数
     */
    public GWLog(){

    }

    /**
     * 构造函数
     * @param level
     * @param name
     * @param log
     */
    public GWLog(Integer level,String name,String log){
        this.level = level;
        this.name = name;
        this.log = log;
        this.createTime = new Date();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
